import service from '@/utils/request'

export function signin(data){
    return service.post("/api/student/signin", data);
}

export function courseInfo(){
    return service.get("/api/student/course");
}

export function logList(page, limit){
    return service.get("/api/log/index?page="+page+"&limit="+limit);
}
export function roleList(page, limit){
    return service.get("/api/role/index?page="+page+"&limit="+limit);
}

export function getRoleList(){
    return service.get("/api/user/rolelist");
}
